home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: my atoi function, could someone suggest...
- Date: Mon, 15 Jan 96 15:50:37 GMT
- Organization: none
- Message-ID: <821721037snz@genesis.demon.co.uk>
- References: <4cf7ap$q4u@kaleka.seanet.com> <4cq937$if9@ns.RezoNet.NET> <4d6v51$qoh@gryphon.phoenix.net> <821573157snz@genesis.demon.co.uk> <4dbh1j$2hpc@news.gate.net>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4dbh1j$2hpc@news.gate.net> bhutto@gate.net "William Hutto" writes:
-
- >>
- >> testl %esi,%esi
- >> je .L17
- >> testl %eax,%eax
- >> je .L17
- >> negl %eax
- >>..L17
- >
- >eax was already loaded? That's better optimizing than any compiler I have.
-
- This was with gcc -O2. All local variables (and temporaries) in myatoi() were
- allocated to registers. I'll mail the full listing to you if you want -
- I'd rather not spark a my compiler vs. your compiler discussion in
- comp.lang.c!
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-